/*
 * generator.h
 *
 *  Created on: Apr 18, 2012
 *      Author: songbo
 */

#ifndef GENERATOR_H_
#define GENERATOR_H_
#include<string>
#include "dbinfo.h"
#include "table.h"
namespace retail {

class generator {
public:
	generator(const std::string& TABLE_SCHEMA_FILE, dbinfo& info);
	void generate(int size, int threads, int batch);
private:
	dbinfo databaseinfo;
	table *mytable;
};

} /* namespace retail */
#endif /* GENERATOR_H_ */
